﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GameObjects;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace EquipmentModule
{
    public abstract class Item : Sprite
    {
        protected double lifetime;
        protected VampireRider player;

        public double Lifetime
        {
            get { return lifetime; }
            set { lifetime = value; }
        }

        public Item(Vector2 position, Texture2D texture, VampireRider player)
            :base(position,texture)
        {
            lifetime = 10000;
            this.player = player;
        }

        public override void Update(GameTime gametime)
        {
            base.Update(gametime);
        }

        public virtual void Use()
        {

        }
    }
}
